Efficient and General On-Stack Replacement for Aggressive Program Specialization

نویسندگان

  • Sunil Soman
  • Chandra Krintz
چکیده

Efficient invalidation and dynamic replacement of executing code – on-stack replacement (OSR), is necessary to facilitate effective, aggressive, specialization of object-oriented programs that are dynamically loaded, incrementally compiled, and garbage collected. Extant OSR mechanisms restrict the performance potential of program specialization since their implementations are special-purpose and restrict compiler optimization. In this paper, we present a novel, general-purpose OSR mechanism that is more amenable to optimization than prior approaches. In particular, we decouple the OSR implementation from the optimization process and update the program state information incrementally during optimization. Our OSR implementation efficiently enables the use of code specializations that are invalidated by any event – including those external to program code execution. We improve code quality over the extant, state-of-the-art, resulting in performance gains of 1-31%, and 9% on average.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Application-specific garbage collection

Prior work, including our own, shows that application performance in garbage collected languages is highly dependent upon the application behavior and on underlying resource availability. We show that given a wide range of diverse garbage collection (GC) algorithms, no single system performs best across programs and heap sizes. We present a Java Virtual Machine extension for dynamic and automat...

متن کامل

The Effectiveness of Aggression Replacement Training Program on Antisocial Behaviors, Anger Rumination of Adolescence Girls in Ahwaz

Background and Objective: Aggression is one of the main focuses of research activities of psychologists and psychiatrists, and a significant proportion of those referring to psychiatric and psychiatric centers have aggression problems. The purpose of this study was to determine the effectiveness of Aggression Replacement Training  (ART) program on antisocial behaviors  (physical aggression, soc...

متن کامل

A stack-based chaotic algorithm for encryption of colored images

In this paper, a new method is presented for encryption of colored images. This method is based on using stack data structure and chaos which make the image encryption algorithm more efficient and robust. In the proposed algorithm, a series of data whose range is between 0 and 3 is generated using chaotic logistic system. Then, the original image is divided into four subimages, and these four i...

متن کامل

Identifying the components of universities smart specialization strategy

The strategy for smart specialization university has been one of the main policies of the European Union in recent years to develop regional performance and economic growth through university systems. In spite of this, no research has been done to identify the components of this strategy. Accordingly, this study aimed to identify the components of the smart specialization strategy of higher edu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006